package com.zingrow.web.configure.channel.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.zingrow.web.configure.channel.model.Channel;

public interface ChannelMapper {
	/**
     * 批量删除
     */
	int batchDeletes(List delList);
	//删除
	int deleteChnnel(Integer channel_id);
	//新增
	int addChannel(Channel channel);
	//修改
	int modifyChannel(Channel channel);
	//查询
	List<Channel> queryByParams(Map<String, Object> map);
	//查询是否同名
	int queryByName(Map<String, Object> map);
	//单个查询
	Channel queryById(Integer channel_id);
	//查询全部的接口
	List<Channel> queryByIdName(Map<String, Object> map);
	//根据list集合中的id查询接口
	List<Channel> queryChannelByIdlist(List<String> idlist);
	//修改频道导出状态
	int modifyDomainIsexprot(List<Integer> channel_id);
	//导出
	List<Channel> queryChannelbyid(List<Integer> ids);
	
	//新方案通过类别查询频道名称信息
	List<Channel> queryChannelByType(Map<String,Object> map);
	
	int updatadisplay(List<String> list);
	
	int updatadisplayno(List<String> list);
	  
	
	
}
